package com.dz.lm.dao.usermessagerecord.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.usermessagerecord.UserMessageRecord;
import com.dz.lm.domain.usermessagerecord.UserMessageRecordExample;

import java.util.List;

@ReaderRepository("readUserMessageRecordDao")
public interface UserMessageRecordDao {
    List<UserMessageRecord> selectByExample(UserMessageRecordExample example) throws DaoException;

    UserMessageRecord selectByPrimaryKey(Long recordId)throws DaoException;

    int queryCount(UserMessageRecordExample example) throws DaoException;

}